
public class PredicateStartsWith implements Predicate{

	public boolean predicate(String element, String string){
		if(element!=null && string!=null){
			return((String)element).startsWith((String)string);
		}
		else return false;
	}
	
}
